package org.example.maven.api.client;

import org.example.maven.api.util.CommonResponse;
import org.example.maven.entity.ActionTicket;
import org.example.maven.pojo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(name = "action-inventory-service", path = "/actionInventory")
public interface ActionInventoryClient {
    //添加活动票数信息
    @PostMapping("/addActionTicket")
    CommonResponse<Result> addActionTicket(ActionTicket actionTicket);
}
